package org.quartz.impl.rmi;

import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;

/**
 * Created by ziqiji on 2018/1/13.
 */
public class RMIClient {
    public static void main(String[] args) throws RemoteException, NotBoundException, MalformedURLException {
        AbstractServerDriverDelegate serverDriverDelegate = (AbstractServerDriverDelegate)
                Naming.lookup("rmi://127.0.0.1:8888/");
//        String res = serverDriverDelegate.insertA("hello");
//        System.out.println(res);
        
    }
}
